<extend name="public:base" />

<block name="left">
	<div class="mark_bar cl">
		<a href="{:url('uc/promotion/index')}" class="goback fl"><i class="iconfont">&#xe600;</i></a>
		<p>奖励详情</p>
		<a href="javascript:showTipss('邀请好友奖励每日实时统计，于次月1日统一发放，如遇节假日，顺延发放。')" class="btm"><i class="iconfont">&#xe617;</i></a>
	</div>
</block>

<block name="main">
	<div class="container">
		<div class="hd">
			<ul class="member_nav">
				<li <if condition="$Think.get.status eq 1">class="on"</if>><a href="{:url('uc/promotion/reward_detail',['status'=>1])}">已发放</a></li>
				<li <if condition="$Think.get.status eq 3">class="on"</if>><a href="{:url('uc/promotion/reward_detail',['status'=>3])}">待发放</a></li>
			</ul>
		</div>
		<div class="bd">
			<div class="promoteUl">
				<notempty name="rebate_list">
					<div class="promoteDataBar">累计<if condition="$Think.get.status eq 1">已发放<else/>待发放</if>奖励：<i>{$total_amount}</i>元</div>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="row_table small">
						<tr class="a999 small">
							<td width="40%">奖励日期</td>
							<td width="30%">奖励类型</td>
							<td width="30%" align="right">奖励金额(元)</td>
						</tr>
						<volist name="rebate_list" id="v">
							<tr>
								<td>{$v.add_time}</td>
								<td class="a333 small">{$v.type_name}</td>
								<td align="right" class="af90">{$v.reward_amount}</td>
							</tr>
						</volist>
					</table>
					<else/>
					<p class="empty">暂无奖励</p>
				</notempty>
			</div>

		</div>
	</div>
</block>
<block name="menu"></block>

<block name="js">
	<script type="text/javascript" src="__JS__/jquery.SuperSlide.2.1.js"></script>
	<script type="text/javascript">
        // jQuery(".slideTxtBox").slide({trigger:"click",mainCell:".bd"});
        function showTipss(t) {
			layer.open({
				content: t,
				btn: '我知道了'
			})
        }
	</script>
</block>